package com.wn.trade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wn.common.model.dto.borrow.BorrowQuery;
import com.wn.common.model.dto.borrow.BorrowRecordDTO;
import com.wn.common.model.vo.borrow.BorrowRecordVo;
import com.wn.common.utils.Pages;
import com.wn.trade.entity.BorrowRecord;

/**
 * @author yellow Docter
 * @date 2023 -03-02
 * @desc
 */
public interface IBorrowRecordService extends IService<BorrowRecord> {

    //借款
    String addBorrowRecord(BorrowRecordDTO borrowRecordDTO);

    Pages<BorrowRecordVo> borrowSearch(BorrowQuery borrowQuery,Integer currentPage,Integer pageSize);

    String verifyStatus(Long borrowRecordId, String approveStatus);
}
